<@sp.pagehead shiroUserHelper.getCurrentShiroUser().parentSources />
<div class="panel panel-inverse" data-sortable-id="form-stuff-5">
    <div class="panel-heading">
        <h4 class="panel-title">课程查询</h4>
    </div>
    <div class="panel-body">
        <form id="courseForm" name="courseForm" method="post" class="form-inline">
            <div class="form-group m-r-10">
                <input type="text" class="form-control" name="LIKE_courseName" value=""
                       placeholder="课程名称">
            </div>
            <div class="form-group m-r-10">
                <input type="text" class="form-control" name="EQ_id" value=""
                       placeholder="课程编号">
            </div>
            <button type="button" class="btn btn-sm btn-primary m-r-5"
                    onclick="postDataByFormDisplay('course/list','courseList','courseForm')">
                <i class="fa fa-search m-r-5"></i>查 询
            </button>
            <button type="button" class="btn  btn-default btn-sm m-r-5"
                    onclick="cleanForm('courseForm')">
                <i class="fa fa-refresh m-r-5"></i>重置
            </button>
        </form>
    </div>
</div>
<hr/>
<div class="panel panel-inverse" data-sortable-id="table-basic-4" id="courseList">
    <div class="progress progress-striped active">
        <div class="progress-bar" id="progressBar">玩命加载中..</div>
    </div>
</div>
<script type="application/javascript">
    $(function () {
        $("#progressBar").show(function () {
            $("#progressBar").width(Math.round(Math.random() * 90 + 10) + '%');
        });
        postDataByFormDisplay('${rc.contextPath}/course/list', 'courseList', 'courseForm');
    });

</script>